package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NursingPlanMapper{
    @Select("select * from nursing_plan")
    List<NursingPlanVo> list();

    Page selectByPage(String name, Integer status);

    NursingPlanVo selectById(Long id);

    void update(NursingPlan bo);

    void delete(Long id);

    Long save(NursingPlan bo);
}
